#!/bin/bash

echo "打包文件"
yarn build
echo "传输文件"

# 生产环境
scp -r ./dist/** root@106.13.231.246:/usr/local/nginx/html/xl

# 测试环境
# scp -r ./dist/** root@182.61.19.106:/usr/local/nginx/html/xl

echo "部署成功"
